<fieldset>
    <h2><?php echo __('Edit Product'); ?></h2>
    <div class="required">* Required fields</div>
</br></br>
<div class="products form">
    <?php echo $this->Form->create('Product');
    echo $this->Form->input('id'); ?>
    <table class="inlineTable" width="20%" cellpadding='0' cellspacing='1' >
        <tr>
            <th width="30%"><?php echo __('Supplier'); ?><div class="required">*</div></th>
            <td width="50%"><?php echo $this->Form->input('suppliers_id',array ('options'=>$suppliers, 'label'=>'', 'empty'=>'No Supplier'));?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Brand'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('productsbrands_id',array ('options'=>$productsbrands, 'label'=>''));?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Range'); ?></th>
            <td width="70%"><?php echo $this->Form->input('productsranges_id',array ('options'=>$productsranges, 'label'=>'', 'empty'=>'(empty)'));?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Category'); ?></th>
            <td width="70%"><?php echo $this->Form->input('productscategories_id',array ('options'=>$productscategories, 'label'=>'', 'empty'=>'(empty)'));?></td>
        </tr>
    </table>
    <table class="inlineTable" width="30%" cellpadding='0' cellspacing='1' >

        <tr>
            <th width="30%"><?php echo __('Item'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('description', array('label'=>'')); ?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Size'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('size', array('label'=>'')); ?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Cost Price'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('cost_price', array('label'=>'')); ?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Retail Price'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('retail_price', array('label'=>'')); ?></td>
        </tr>
    </table>
    <table class="inlineTable" width="40%" cellpadding='0' cellspacing='1' >

        <tr>
            <th width="30%"><?php echo __('Minimum Stock'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('min_level', array('label'=>'')); ?></td>

        </tr>
        <tr>
            <th width="30%"><?php echo __('Maximum Stock'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('max_level', array('label'=>'')); ?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Onhand Stock'); ?><div class="required">*</div></th>
            <td width="70%"><?php echo $this->Form->input('onhand_level', array('label'=>'')); ?></td>
        </tr>
        <tr>
            <th width="30%"><?php echo __('Barcode'); ?></th>
            <td width="70%"><?php echo $this->Form->input('barcode', array('label'=>'')); ?></td>
        </tr>
    </table>
</div>
<br><br>
<div class="newsubmit">
<?php echo $this->Form->submit(__('Save', true), array('formnovalidate' => true, 'div' => false, 'class' => 'btn btn-success')); ?>
<ul><li><?php echo $this->Html->link(__('Back'), array('action' => 'index')); ?></li></ul></div>


</fieldset>		